projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b58e3
)
Probe for a C compiler in the configure script
author
Alex Crichton
<alex@alexcrichton.com>
Wed, 14 Jan 2015 04:19:26 +0000
(20:19 -0800)
committer
Alex Crichton
<alex@alexcrichton.com>
Wed, 14 Jan 2015 04:19:26 +0000
(20:19 -0800)
Probably a good sanity check to have up front to ensure that you've got a C
compiler locally!
Closes #820
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 6c724cc4bd0d15d79265f28094fb07e183c3b6ed..0286fb103b8e6050f3a1e5f34e4c906c6eaad4a1 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-342,6
+342,7
@@
step_msg "looking for build programs"
probe_need CFG_CURLORWGET curl wget
probe_need CFG_PYTHON python
+probe_need CFG_CC cc gcc clang
if [ ! -z "${CFG_LOCAL_RUST_ROOT}" ]; then
CFG_RUSTDOC="${CFG_LOCAL_RUST_ROOT}/bin/rustdoc"